package com.yeswater.multithread.chapter1.test1_12.test1;

/**
 * author : yeswater
 * date : 2023/10/19
 */

public class MyThread extends Thread {

    private long i = 0;

    public long getI() {
        return i;
    }

    public void setI(long i) {
        this.i = i;
    }

    @Override
    public void run() {
        while (true) {
            i++;
        }
    }
}
